import { getPath } from '@/utils/utils'
import { post } from './index'

export default async function (answer_id) {
  const { data } = await post('/admin/answer/delete', {survey_id: getPath(), answer_id})
  return data
}
